import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false


new Vue({
	el:'#demo',
	//安装全局事件总线
	beforeCreate() {
		Vue.prototype.$bus = this //此处的this是vm
	},
	render:h => h(App)
})